package com.zzg.datastructure.linkedlist;

import lombok.ToString;

/**
 * @Author zhengzg
 * @Date 2022-08-16
 * @Version v1.0
 */
@ToString(exclude = {"next"})
public class HeroNode {

    /**
     * 编号
     */
    public int no;

    /**
     * 名称
     */
    public String name;

    /**
     * 绰号
     */
    public String nickName;

    /**
     * 指向下一个节点
     */
    public HeroNode next;


    public HeroNode(int no, String name, String nickName) {
        this.no = no;
        this.name = name;
        this.nickName = nickName;
    }
}
